package io.renren.modules.com.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

import io.renren.modules.com.entity.ComPaymentHistoryEntity;
import io.renren.modules.sys.dao.BaseDao;

/**
 * 
 * 
 * @author pfp
 * @email
 * @date 2017-07-22 13:11:39
 */
@Mapper
public interface ComPaymentHistoryDao extends BaseDao<ComPaymentHistoryEntity> {

	ComPaymentHistoryEntity queryByBillNo(String billNo);

	List<ComPaymentHistoryEntity> queryDistinctAssetContract(Map<String, Object> map);

	int queryTotalDistinctAssetContract(Map<String, Object> map);

	double sumTotal(Map<String, Object> map);

	List<ComPaymentHistoryEntity> turnover(Map<String, Object> map);
	
	List<ComPaymentHistoryEntity> monsterHunter(Map<String, Object> map);

	int turnoverTotal(Map<String, Object> map);
	
	List<ComPaymentHistoryEntity> aVeryUglyPerson(Map<String, Object> map);

}
